<?php
/**
 * 客户联系人相关
 * Created by PhpStorm.
 * User: 刘抱
 * Date: 2018/11/9
 * Time: 16:59
 */

namespace Home\Services;


class ContactService extends BaseService
{
    public static $table = 'db_crm_contact';
    /**
     * 获取多维数组
     * @param $field
     * @param $where
     * @return mixed
     */
    public static function getContactArray($field, $where)
    {
        $result = parent::getResult(self::$table, $field, $where);
        return $result;
    }

    public static function getContact($field, $where)
    {
        $result = parent::getResultByField(self::$table, $field, $where);
        return $result;
    }

}